<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="./eventEmitter.js"></script>
  <script src="./vue.js"></script>
  <script src="./observer.js"></script>
  <script src="./compiler.js"></script>
</head>
<body>
    <div id="app">
      <p v-text='age'></p>
      <span>{{msg}}</span>
      <div>
        <span>{{age}}</span>
        <span>{{age}}</span>
      </div>
      <input type="text" v-model="msg">
    </div>
    <script>
      // 实例化Vue对象
      const vm = new Vue({
        el:'#app',
        data: {
          msg:'abc',
          age:10
        }  
      });
      console.log(vm)
    </script>
</body>
</html>